home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / mail / transpor / ifmail23.z / ifmail23 / ifmail / CONFIG next >
Encoding:
Text File  |  1994-05-10  |  6.4 KB  |  198 lines

  1. # Compile-time configuration for ifmail FidoNet mailer and gateway
  2. COPYRIGHT   = "Eugene G. Crosser, 1993,1994"
  3. VERSION     = "2.3"
  4.  
  5. # Main configuration file. This default may be overwritten by -I key.
  6. #CONFIGFILE  = "/etc/fnet.d/config"
  7. CONFIGFILE  = "/usr/local/lib/fnet/config"
  8.  
  9. # Debug messages turned on by -x key are written here.
  10. # Some error messages may occationally appear here too.
  11. # This may be changed from the 'config' file.
  12. #DEBUGFILE   = "/var/adm/fnet/ifdebug"
  13. DEBUGFILE   = "/tmp/ifdebug"
  14.  
  15. # Procession log. Usually gets several lines for each invocation.
  16. # Also look for error diagnostics here.
  17. # This may be changed from the 'config' file.
  18. #LOGFILE     = "/var/adm/fnet/iflog"
  19. LOGFILE     = "/usr/local/lib/fnet/iflog"
  20.  
  21. # Use syslog() facility codes for mail gate, news gate and ifcico.
  22. # Define -DUSE_SYSLOG (see below)
  23. #MAILLOG    = LOG_MAIL
  24. MAILLOG    = LOG_LOCAL0
  25. #NEWSLOG    = LOG_NEWS
  26. NEWSLOG    = LOG_LOCAL0
  27. #CICOLOG    = LOG_UUCP
  28. CICOLOG    = LOG_LOCAL0
  29.  
  30. # Directory where UUCP lock files reside.
  31. #LOCKDIR     = "/var/lock"
  32. LOCKDIR     = "/usr/spool/uucp"
  33.  
  34. # Directory from which file requests are resolved.
  35. # This may be changed from the 'config' file.
  36. #PUBDIR      = "/var/spool/uucppublic"
  37. PUBDIR      = "/usr/spool/uucppublic"
  38.  
  39. # Compile-time system-dependant options. 
  40.  
  41. # If you specify "-DHAS_NDBM_H", ndbm calls will be used instead
  42. # of dbm ones, and the feature will be activated of Cnews log processing
  43. # to add entries to SEEN-BY if echo message is exported to several FTN
  44. # nodes by Cnews mechanism. This works with INN too.
  45.  
  46. # If you specify "-DHAS_STATFS" or "-DHAS_STATVFS", statfs() (or statvfs()
  47. # respectivly) call will be used to check available disk space. For statfs()
  48. # call, you must also specify which .h file to use: "-DSTATFS_IN_VFS_H" or 
  49. # "-DSTATFS_IN_STATFS_H" or "-DSTATFS_IN_STATVFS_H"  or "-DSTATFS_IN_MOUNT_H". 
  50. # For statvfs() call, statvfs.h is included.
  51.  
  52. # define -DSCO_STYLE_STATFS if your statfs() call requires 4 arguments.
  53.  
  54. # If you specify "-DHAS_SETSID", setsid() call is used to detach from the
  55. # control terminal. Otherwise setpgrp() call is used, and in this case you
  56. # may specify "-DBSD_SETPGRP" to use BSD-style call.  Used in ifcico only.
  57.  
  58. # If you specify "-DDONT_HAVE_TM_GMTOFF", timezone offset will be calculated
  59. # from the difference between the results of localtime() and gmtime() calls
  60. # instead of using tm_gmtoff field of struct tm.
  61.  
  62. # If you specify "-DDONT_HAVE_GETOPT", local definitions for getopt will
  63. # be used (but not the function itself)
  64.  
  65. # For ifcico, you must specify -DHAS_TERMIOS_H (preffered), -DHAS_TERMIO_H
  66. # or -DHAS_SGTTY_H to use POSIX-y, SysV-ish of BSD-ish terminal control.
  67.  
  68. # in SVR4 you should specify -DHAS_DIAL (and maybe -DHAS_DIAL_H) to use
  69. # dial() library function instead of regular open().  Lock files are
  70. # not used in this case.
  71.  
  72. # for uucp lock files, you must specify either -DASCII_LOCKFILES or
  73. # -DBINARY_LOCKFILES
  74.  
  75. # define -DHAS_FSYNC if there is a fsync() system call (to update .flo
  76. # files)
  77.  
  78. # define -DPARANOID if you want iftoss to deny packets with wrong password.
  79.  
  80. # define -DFORCEINTL if you want ifmail to create ^aINTL even if this is
  81. # not an inter-zone netmail.
  82.  
  83. # define -DNEED_UUCPFROM if your MTA needs a uucp "From" line in mail.
  84.  
  85. # define -DHAS_TCP if you want ifmail to be able to originate outgoing
  86. # connections over TCP/IP (socket library needed)
  87.  
  88. # define -DHAS_TERM if you want ifmail to be able to originate outgoing
  89. # connections over TERM (TCP "extention", client.a needed)
  90.  
  91. # define -DHAS_REGEX_H or -DHAS_LIBGEN_H if you have either of these
  92. # header files for regular expression handlers.
  93.  
  94. # define -DHAS_SYSLOG to use syslog() instead of logging to files.
  95. # Files are necessary anyway, external programs' stdout and stderr
  96. # are redirected there.
  97.  
  98. # define -DNEED_BSY if you want ifpack and ifcico to create .bsy
  99. # files preventing simultaneous processing of the same node.
  100.  
  101. # define -DNEED_FORK if your system is uncapable of getting rid of the
  102. # control terminal unless you are running not as a group leader.
  103.  
  104. # Linux:
  105. OPTS        = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
  106.         -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
  107.         -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
  108.         -DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_BSY
  109. # 386BSD:
  110. #OPTS        = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID -DHAS_NDBM_H \
  111.         -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H \
  112.         -DHAS_REGEX_H -DHAS_TCP -DHAS_SYSLOG -DNEED_UUCPFROM \
  113.         -DNEED_BSY -DNEED_FORK
  114.  
  115. # SVR4:
  116. #OPTS        = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \
  117.         -DHAS_TERMIOS_H -DHAS_DIAL -DHAS_DIAL_H -DASCII_LOCKFILES \
  118.         -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_LIBGEN_H -DHAS_TCP -DHAS_SYSLOG
  119. # SunOS:
  120. #OPTS        = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
  121.         -DDONT_HAVE_GETOPT -DHAS_TERMIOS_H -DASCII_LOCKFILES \
  122.         -DHAS_FSYNC -DHAS_TCP -DHAS_SYSLOG
  123.  
  124. # SCO Unix 3.2v4.2
  125. #OPTS        = -DHAS_STATFS -DSTATFS_IN_STATFS_H -DSCO_STYLE_STATFS \
  126.         -DHAS_TERMIOS_H -DDONT_HAVE_TM_GMTOFF -DDO_NEED_TIME \
  127.         -DDONT_HAVE_GETOPT -DASCII_LOCKFILES -DHAS_IOCTL_H \
  128.         -DHAS_TCP -DHAS_SYSLOG
  129.  
  130. # ISC Unix 3.2 v3.0
  131. #OPTS        = -DHAS_STATFS -DSTATFS_IN_STATFS_H -DHAS_TERMIO_H \
  132.         -DDONT_HAVE_TM_GMTOFF -DDONT_HAVE_GETOPT \
  133.         -DASCII_LOCKFILES -DHAS_IOCTL_H -DSCO_STYLE_STATFS \
  134.         -DUSE_POLL _DHAS_NET_ERRNO_H -DDONT_HAVE_PID_T \
  135.         -DHAS_TCP -DHAS_SYSLOG
  136.  
  137. # for make install, where to put binaries and what owner to set
  138. BINDIR = /usr/local/lib/fnet
  139. OWNER = fnet
  140. GROUP = uucp
  141. MODE = 0711
  142. SMODE = 4711
  143.  
  144. INSTALL = install
  145. RANLIB = ranlib
  146. #RANLIB = touch
  147. SHELL = /bin/sh
  148. ECHO = echo -e
  149. CC = gcc
  150. #YACC = bison -y
  151. YACC = yacc
  152. #LEX = flex
  153. LEX = lex
  154. AWK = awk
  155. TAR = tar
  156.  
  157. #CFLAGS = -g -Wall
  158. # Linux, 386BSD, SunOS:
  159. CFLAGS = -O2 -Wall
  160. # SVR4:
  161. #CFLAGS = -O -Xa
  162.  
  163. LDFLAGS =
  164.  
  165. # For LIBS, you may need to add "-lfl" if you are using flex 2.4.x
  166. # If you need TERM also add e.g. "/usr/src/term112/client.a"
  167.  
  168. # Linux
  169. LIBS = -ldbm
  170. # SunOS:
  171. #LIBS =
  172. # 386BSD:
  173. #LIBS = -lgdbm -lgnuregex
  174. # SVR4
  175. #LIBS = -ldbm -lform -lnsl -lsocket -lc -L/usr/ucblib -lucb
  176. # SCO
  177. #LIBS = -ldbm -lsocket -lintl
  178. # ISC
  179. #LIBS = -lcposix -lmalloc -ldbm -linet -lPW
  180.  
  181. INCLUDES = -I${INCDIR}
  182. # ISC
  183. #INCLUDES = -I/usr/include/rpcsvc -I${INCDIR}
  184.  
  185. # What programs are absent at your system?
  186. #NEEDED = strcasestr.o strncasecmp.o strcasecmp.o rename.o mkdir.o usleep.o \
  187.         regexpr.o
  188. # Linux
  189. NEEDED =
  190. # SVR4
  191. #NEEDED = regexpr.o
  192. # SCO
  193. #NEEDED = strcasestr.o strncasecmp.o strcasecmp.o usleep.o regexpr.o
  194. # SunOS and 386BSD
  195. #NEEDED = signal.o
  196. # ISC
  197. #NEEDED = usleep.o regexpr.o
  198.